package com.longmao.eduservice.client;

import com.longmao.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author longmao
 * @date 2022/2/11 10:01
 * Content: 熔断器的实现类
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{

    /**
     * 删除单个视频
     * @param videoId
     * @return
     */
    @Override
    public R deleteVodVideo(String videoId) {
        return R.error().message("删除视频失败！");
    }

    /**
     * 删除多个视频
     * @param videoIds
     * @return
     */
    @Override
    public R deleteBatch(List<String> videoIds) {
        return R.error().message("删除多个视频失败！");
    }
}
